package com.homework5;

import java.io.File;
import java.io.IOException;

public class demo01 {
    public static void main(String[] args) throws IOException {
        File file = new File("c:/a.txt ");
        file.mkdir();
        file.delete();
        File file1 = new File("c:\\aaa");
        boolean mkdir = file1.mkdir();
        System.out.println(mkdir);
        boolean delete = file1.delete();
        System.out.println(delete);
    }
}
